package com.ophiux.common.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum CodeEnum {
        /**
         * 成功并提示
         */
        RESULT_SUCCESS(0,"请求成功"),
        /**
         * 成功不提示
         */
        RESULT_SUCCESS_NOT_MESSAGE(100,""),
        /**
         * 失败
         */
        RESULT_FAIL(1,"请求失败"),
        /**
         * 异常
         */
        RESULT_EXCEPTION(2,"请求异常")


        ;

        private int code;

        private String msg;


    }